-module (web_login).
-include_lib ("nitrogen/include/wf.inc").
-compile(export_all).

main() -> 
    #template { file="./wwwroot/template_nomenu.html"}.

title() ->
    "Hertz : Connection".

body() ->
    case wf:session(connected) of
	true ->
	    element_login:render(logout);
	_ ->
	    element_login:render(login)
    end.
